//
// Created by martin on 8/3/21.
//

#include "ftprequest.h"
#include <stdlib.h>
#include <string.h>

FtpRequest *ftprequest_new()
{
    FtpRequest *request = (FtpRequest *)malloc(sizeof(FtpRequest));
    if (!request) {
        return NULL;
    }
    bzero(request, sizeof(FtpRequest));

    return request;
}
void ftprequest_free(FtpRequest *request)
{
    if(!request) return;
    free(request);
}